package org.jsrml.core.base.service;

import org.hibernate.Criteria;
import org.jsrml.common.persistence.BaseDao;
import org.jsrml.core.base.entity.Province;
import org.jsrml.core.base.qo.ProvinceQO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ProvinceService extends BaseDao<Province, ProvinceQO> {

	@Override
	protected Criteria buildCriteria(Criteria criteria, ProvinceQO qo) {
		return criteria;
	}

	@Override
	protected Class<Province> getEntityClass() {
		return Province.class;
	}
}
